﻿CREATE TRIGGER wfProcessInstances_Tracking_Update
ON [dbo].[wfProcessInstances] 
AFTER Update
AS 
BEGIN
	UPDATE Sync.wfProcessInstances_Tracking 
	SET LastUpdatedDate  = getdate()
    FROM Sync.wfProcessInstances_Tracking s JOIN INSERTED i
    ON s.ProcessInstanceID = i.ProcessInstanceID
END











